const root = {
    module1 : "module1.html",
    module2 : "module2.html"
}
export  default function (moduleName, uri = '') {
    location.href = root[moduleName] + uri;
}
